Repository navigation
Add icons for repository review canvases - #6520
Conversation
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
🚦 Submission status: 👀 Ready for reviewRisk tier: Why this tier
Automated checks
Review
Commands
Updated for |
|
🟡 Contributor Reputation Check: MEDIUM risk
Maintainers: please review this contributor before merging. |
There was a problem hiding this comment.
🟢 Approval recommended
No active review issues were identified for the four review-board icon-path registrations and the related option-preservation test update.
No open issues 🎉
What changed in this PR
Prepares the four repository review canvases for distinct icons by passing local PNG paths to createCanvas. Icon display remains dependent on upcoming SDK and app support.
Changes:
- Adds absolute icon paths to all four review-board registrations.
- Extends the error-handoff test to verify that the wrapper preserves the icon option.
| File | Description |
|---|---|
.github/scripts/canvas/canvas-error-handoff.test.mjs |
Checks that the canvas icon option is preserved. |
.github/extensions/resource-staleness-board/extension.mjs |
Registers the staleness board’s local icon path. |
.github/extensions/open-pr-board/extension.mjs |
Registers the open PR board’s local icon path. |
.github/extensions/external-plugin-review-board/extension.mjs |
Registers the external plugin review board’s local icon path. |
.github/extensions/duplicate-review-board/extension.mjs |
Registers the duplicate review board’s local icon path. |
Review effort: Balanced (adaptive)
Pull Request Checklist
npm startand verified thatREADME.mdis up to date.mainbranch for this pull request.Description
Prepare distinct icons for the four repository review boards so they can be identified in the app when canvas icon support lands. Each canvas supplies an absolute path to its local PNG through
createCanvas; the error-handoff wrapper preserves that option.Type of Contribution
Additional Notes
The installed SDK currently discards the
iconoption, so icon display requires the upcoming SDK and app support. All four extensions reload successfully.npm start- passed; generated READMEs were up to date.node --experimental-vm-modules --test --test-name-pattern='registered documents gain opt-in UI' .github\scripts\canvas\canvas-error-handoff.test.mjs- passed.node --experimental-vm-modules --test .github\scripts\canvas\canvas-error-handoff.test.mjs- failed in an unrelated existing review guard test:store.snapshot is not a function.bash .github/scripts/maintenance/fix-line-endings.sh- passed.By submitting this pull request, I confirm that my contribution abides by the Code of Conduct and will be licensed under the MIT License.